<%-------------------------------------------------------------------
 * 页面名称：netBankInpour_3.jsp
 * 功能描述：网上银行充值－充值接口页面
 * Action  : 
 *
 *-------------------------------------------------------------------
--%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib uri="struts-html.tld" prefix="html"%>
<%@ taglib uri="struts-tiles.tld" prefix="tiles"%>
<%@ taglib uri="struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-bean.tld" prefix="bean"%>
<%@ taglib prefix="ad" uri="agiledata"%>
<%
String path = request.getContextPath();
%>
<div id="main">
	<div class="content_right">
		<div style="width:745px;margin-left:10px;">
			<div class="titleinfo">
				网上银行充值
			</div>
			<div class="edit_pass">
				<table width="100%" border="0" align="center" cellpadding="5"
					cellspacing="0" class="blueborder">
					<tr>
						<td colspan="2" align="right">
							<bean:parameter id="successful" name="successful" />
							<table width="90%" border="0" align="center" cellpadding="7"
								cellspacing="1" bgcolor="#f9e277" style="margin:10px 0;">
								<tr>
									<td bgcolor="#fffdf5">
										<table width="100%" border="0" cellpadding="3" cellspacing="0">
											<tr>
												<td width="97%" align="left" class="font_gray">
													<span class="backfont18b"><img
															src="<%=path%>/images/success_icon.gif" width="60"
															height="56" border="0" align="absmiddle" /> <logic:equal
															name="successful" value="true">您的充值已经成功! </logic:equal>
														<logic:equal name="successful" value="false">
                	充值失败，错误原因如下：<br />
															<bean:parameter id="returnMessage" name="returnMessage" />
															<bean:write name="returnMessage" />
														</logic:equal> </span>
												</td>
											</tr>
										</table>
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td align="right" height="35px;">
							交易编号：
						</td>
						<td class="fontgraydrop14" height="35px;">
							<bean:write name="transaction" property="transId" />
						</td>
					</tr>
					<tr>
						<td align="right" height="35px;">
							充值子账户：
						</td>
						<td class="fontgraydrop14" height="35px;">
							<bean:write name="transaction" property="credit.accountName" />
						</td>
					</tr>
					<tr>
						<td align="right" height="35px;">
							充值金额：
						</td>
						<td class="fontgraydrop14" height="35px;">
							<span id="debitSubAccountBalanceSpan" class="orangefont14b">
								<ad:FormatPrase>
									<bean:write name="transaction" property="amount" />
								</ad:FormatPrase> </span> 元
						</td>
					</tr>
					<tr>
						<td align="right" height="35px;">
							手续费用：
						</td>
						<td class="fontgraydrop14" height="35px;">
							<span id="debitSubAccountBalanceSpan" class="orangefont14b">
								<ad:FormatPrase>
									<bean:write name="transaction" property="creditFee" />
								</ad:FormatPrase> </span> 元
						</td>
					</tr>
					<tr>
						<td width="50%" align="right" height="35px;">
							实际金额：
						</td>
						<td width="77%" class="fontgraydrop14" height="35px;">
							<span id="debitSubAccountBalanceSpan" class="orangefont14b">
								<ad:FormatPrase>
									<bean:write name="actualAmount" />
								</ad:FormatPrase> </span> 元
						</td>
					</tr>
					<tr>
						<td align="right" height="35px;">
							充值子账户当前余额：
						</td>
						<td class="fontgraydrop14" height="35px;">
							<span class="orangefont14b"> <ad:FormatPrase>
									<bean:write name="transaction"
										property="credit.accountBalance.balance" />
								</ad:FormatPrase> </span> 元
							<a href="<%=path%>/page/myspace/subBalance.do"
								class="dropblue14b">查看账户明细</a>
						</td>
					</tr>
					<logic:equal name="personAccount" value="true">
						<logic:notEmpty name="ScoresHistory" property="scoresAmount">
							<logic:greaterThan name="ScoresHistory" property="scoresAmount"
								value="0">
								<tr>
									<td width="50%" align="right" height="35px;">
										本次积分：
									</td>
									<td width="77%" class="fontgraydrop14" height="35px;">
										<span class="orangefont14b"> <bean:write
												name="ScoresHistory" property="scoresAmount" format="####" />
										</span> 分
									</td>
								</tr>
							</logic:greaterThan>
						</logic:notEmpty>
						<logic:notEmpty name="ScoresHistory" property="totalScores">
							<logic:greaterThan name="ScoresHistory" property="totalScores"
								value="0">
								<tr>
									<td align="right" height="35px;">
										累计积分：
									</td>
									<td class="fontgraydrop14" height="35px;">
										<span class="orangefont14b"> <bean:write
												name="ScoresHistory" property="totalScores" format="####" />
										</span> 分
									</td>
								</tr>
							</logic:greaterThan>
						</logic:notEmpty>
					</logic:equal>
					<tr>
						<td align="right">
							&nbsp;
						</td>
						<td>
							&nbsp;
						</td>
					</tr>
				</table>
				<table width="100%" height="55" border="0" cellpadding="0"
					cellspacing="0">
					<tr>
						<td align="center">
							<input name="close" type="button" class="button_style"
								value="关 闭" onclick="self.close();" />
						</td>
					</tr>
				</table>
			</div>
		</div>
	</div>
</div>
